import React from 'react'
import ReactDOM from 'react-dom/client'
import {BrowserRouter} from "react-router-dom";
import App from './App'
//1.样式初始化一般放最前面
import "reset-css"
//2.UI框架的样式

//全局样式
import "@/assets/styles/global.scss"
//3.组件的样式
// import App from './App'

import {Provider} from "react-redux";
import store from "@/store"

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <Provider store={store}>
    <React.StrictMode>
      <BrowserRouter>
        <App />
      </BrowserRouter>
    </React.StrictMode>
  </Provider>
)
